package com.linkzd.iot.mapper;

import com.linkzd.iot.domain.FloorRoomNumModel;
import com.linkzd.iot.domain.RoomInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoomInfoMapper {

    List<RoomInfo> selectRoomInfoList(RoomInfo roomInfo);
    List<FloorRoomNumModel> selectRoomInfoNum();

    int insertRoomInfo(RoomInfo roomInfo);

    int updateRoomInfo(RoomInfo roomInfo);

    int deleteRoomInfoById(Long id);

    RoomInfo selectRoomInfoById(Long id);

}
